﻿@model MovieMadness.Model.Movie
           <br />
<h2>AddMovie</h2>
<form method="post">
    <div class="fluid">
        <table class="table">
            <tr>
                <th>Title</th>
                <th>Year</th>
                <th>Rating</th>
            </tr>
            <tr>
                <td>
                    @Html.LabelFor(x => x.Title)
                    @Html.TextBoxFor(x => x.Title)
                </td>
                <td>
                    @Html.LabelFor(x => x.Year)
                    @Html.TextBoxFor(x => x.Year)
                </td>
            </tr>
           
    </table>
        </div>
    @Html.HiddenFor( x => x.MovieId)

    <button type="submit" class="btn btn-default">Submit</button>
</form>

